package cn.jjxx.modules.sbfb.service.impl;

import java.util.List;
import cn.jjxx.core.common.service.impl.CommonServiceImpl;
import cn.jjxx.modules.sbfb.mapper.TEcProjectpicMapper;
import cn.jjxx.modules.sbfb.entity.TEcProjectpic;
import cn.jjxx.modules.sbfb.service.ITEcProjectpicService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.itextpdf.text.pdf.PdfStructTreeController.returnType;

/**   
 * @Title: 项目图片信息
 * @Description: 项目图片信息
 * @author yw
 * @date 2022-02-17 11:28:07
 * @version V1.0   
 *
 */
@Transactional
@Service("tEcProjectpicService")
public class TEcProjectpicServiceImpl  extends CommonServiceImpl<TEcProjectpicMapper,TEcProjectpic> implements  ITEcProjectpicService {

	@Override
	public boolean insertBatch(List<TEcProjectpic> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.insertBatch(list);
		}
		return true;
	}

	@Override
	public boolean updateBatch(List<TEcProjectpic> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.updateBatch(list);
		}
		return true;
	}
	
}
